


<nz-form-item>
    <nz-form-label [nzSpan]="6" nzFor="noticeName">班级选择</nz-form-label>
    <nz-form-control [nzSpan]="14">
        <nz-select style="width:400px;" nzAllowClear [nzPlaceHolder]="'请选择班级名称'" [(ngModel)]="className" (ngModelChange)="provinceChangesol($event)"
            (nzOnSearch)="searchChange($event)" [nzServerSearch]="true" [nzNotFoundContent]="'没有对应内容'" nzShowSearch>
            <nz-option *ngFor="let list of listEntities.entities" [nzLabel]="list.className" [nzValue]="list.id"></nz-option>
        </nz-select>
        <span style="color: red">*</span>
    </nz-form-control>
</nz-form-item>


<nz-form-item>
    <nz-form-label [nzSpan]="6" nzFor="noticeContent">用户名</nz-form-label>
    <nz-form-control [nzSpan]="14">
        <input placeholder="请填用户名" style="width: 400px" nz-input [(ngModel)]="username" />
        <span style="color: red">*</span>
    </nz-form-control>
</nz-form-item>
<nz-form-item>
    <nz-form-label [nzSpan]="6" nzFor="noticeContent">密码</nz-form-label>
    <nz-form-control [nzSpan]="14">
        <input placeholder="请填密码" style="width: 400px" nz-input [(ngModel)]="password" />
        <span style="color: red">*</span>
    </nz-form-control>
</nz-form-item>
<nz-form-item>
    <nz-form-label [nzSpan]="6" nzFor="noticeContent">学生姓名</nz-form-label>
    <nz-form-control [nzSpan]="14">
        <input placeholder="请填学生姓名" style="width: 400px" nz-input [(ngModel)]="studentname" />
        <span style="color: red">*</span>
    </nz-form-control>
</nz-form-item>
<nz-form-item>
    <nz-form-label [nzSpan]="6" nzFor="noticeContent">学生电话</nz-form-label>
    <nz-form-control [nzSpan]="14">
        <input placeholder="请填学生电话" style="width: 400px" nz-input [(ngModel)]="studentphone" />
        <!-- <span style="color: red">*</span> -->
    </nz-form-control>
</nz-form-item>
<nz-form-item>
    <nz-form-label [nzSpan]="6" nzFor="noticeContent">学号</nz-form-label>
    <nz-form-control [nzSpan]="14">
        <input placeholder="请填学号" style="width: 400px" nz-input [(ngModel)]="studentnum" />
        <!-- <span style="color: red">*</span> -->
    </nz-form-control>
</nz-form-item>



<nz-form-item nz-row>
    <nz-form-control nz-col [nzSpan]="14" [nzOffset]="6">
        <button nz-button nzType="primary" style="width: 100px" (click)="serve('success')">保存</button>
        &nbsp; &nbsp; &nbsp;
        <button nz-button nzType="default" style="width: 100px" [routerLink]="[ '../teacherstudentindex']">取消</button>
    </nz-form-control>
</nz-form-item>
